Desktop: Fix drag followed by a click causing a double click#3721
Desktop: Fix drag followed by a click causing a double click#3721he1senbrg wants to merge 2 commits intoGraphiteEditor:masterfrom
Conversation
|
I think an easier and cleaner solution would be resetting both up_ and down_count whenever xy_delta is to big. down position is already in the record and should not be duplicated. |
|
@timon-schelling I might be wrong, but from what I understood the last time a value is stored in |
|
I would need to spend more than 2 min looking at the code, but from what I remember it should be possible to split up and down positions and use both of them to figure out the xy delta with each and abort the double click when either the down or up position is to far (fine to add that to the record). |
|
Marking as draft while awaiting changes. |
Before
drag-click-before.mp4
After
drag-click-after.mp4
Closes #3714